package com.rf.richfitwheel.admin.sys.service;


import com.rf.richfitwheel.admin.sys.model.CodeRule;
import com.rf.richfitwheel.common.utils.PageUtils;
import com.rf.richfitwheel.common.utils.R;

import java.util.List;
import java.util.Map;

/**
 * Author bw
 * Date  2019-05-05
 */
public interface CodeRuleService {

    public CodeRule get(String id);

    public List<CodeRule> findList(CodeRule codeRule);

    public List<CodeRule> findAllList();

    public R insert(CodeRule codeRule);

    public int insertBatch(List<CodeRule> codeRules);

    public R update(CodeRule codeRule);

    public R delete(String[] ids);

    //查询分页数据
	public PageUtils queryPage(Map<String, Object> params);

}
